﻿<script>
    /// <reference path="~/Scripts/_references.js" />

    /*
        Stores all the client side resources such as strings, image URLs and constants. The portal will consume this and store it in memory. Add your strings here.
    */
    var portalResources = {
        Strings: {
            /*
                Framework strings
            */
            Loading: "@Resources.Loading",
            FailedToLoadPortal: "@Resources.FailedToLoadPortal",
            PortalConfigurationNotFound: "@Resources.PortalConfigurationNotFound",
            InvalidPortalConfiguration: "@Resources.InvalidPortalConfiguration",
            NavigateBackTo: "@Resources.NavigateBackTo",
            Ellipsis: "@Resources.Ellipsis",
            MoreActionsTooltip: "@Resources.MoreActionsTooltip",
            Yes: "@Resources.Yes",
            No: "@Resources.No",
            OK: "@Resources.OK",
            Cancel: "@Resources.Cancel",
            Retry: "@Resources.Retry",
            Next: "@Resources.Next",
            Back: "@Resources.Back",
            NotificationsSummary: "@Resources.NotificationsSummary",
            TemplateLoadFailureMessage: "@Resources.TemplateLoadFailureMessage",
            TemplateLoadRetryMessage: "@Resources.TemplateLoadRetryMessage",
            EmptyListMessage: "@Resources.EmptyListMessage",

            /*
                Plugin strings
            */

            Plugins: {
                Expenses: {
                    Title: "Expenses",
                    ExpensesList: "Expenses List",
                    ExpensesCharts: "Expenses Charts",
                    NewExpenseAction: "NewExpense",
                    ExpenseAddedMessage: " expense has been added.",
                    AddExpensePrompt: "Add a new expense"
                }
            }
        },

        Images: {
            /*
                Framework images
            */

            ForwardArrow: "/Content/Images/WebPortal/forward.png",
            BackwardArrow: "/Content/Images/WebPortal/back.png",
            Tick: "/Content/Images/WebPortal/tick.png",
            Cross: "/Content/Images/WebPortal/cross.png",
            Refresh: "/Content/Images/WebPortal/refresh.png",
            SuccessNotification: "/Content/Images/WebPortal/notification-success.png",
            InfoNotification: "/Content/Images/WebPortal/notification-info.png",
            WarningNotification: "/Content/Images/WebPortal/notification-warning.png",
            ErrorNotification: "/Content/Images/WebPortal/notification-error.png",
            ProgressNotification: "/Content/Images/WebPortal/notification-progress.gif",
            Ellipsis: "/Content/Images/WebPortal/ellipsis.png",
            SortDescending: "/Content/Images/WebPortal/sorted-desc.png",
            SortAscending: "/Content/Images/WebPortal/sorted-asc.png",

            /*
                Plugin images
            */

            Plugins: {
                Expenses: {
                    ListViewTabActive: "/Content/Images/Plugins/Expenses/list-view-on.png",
                    ListViewTabInactive: "/Content/Images/Plugins/Expenses/list-view.png",
                    ChartViewTabActive: "/Content/Images/Plugins/Expenses/chart-view-on.png",
                    ChartViewTabInactive: "/Content/Images/Plugins/Expenses/chart-view.png"
                }
            }
        }
    }
</script>
